package br.ufrgs.tst;

import java.util.ArrayList;
import java.util.List;

import br.ufrgs.tsp.model.ICity;
import br.ufrgs.tsp.model.ModelFactory;

public class TestHelper {

	public static List<ICity> getCitiesConfigurationStub() {
		ModelFactory factory = ModelFactory.getInstance();
		List<ICity> citiesConfiguration = new ArrayList<ICity>();
		ICity city0 = factory.createCity();
		ICity city1 = factory.createCity();
		ICity city2 = factory.createCity();
		ICity city3 = factory.createCity();
		ICity city4 = factory.createCity();
		
		city0.addNeigboard(city1, city2, city3, city4);
		city1.addNeigboard(city0, city3, city4);
		city2.addNeigboard(city0, city4);
		city3.addNeigboard(city0, city1);
		city4.addNeigboard(city0, city1, city2);
		
		citiesConfiguration.add(city0);
		citiesConfiguration.add(city1);
		citiesConfiguration.add(city2);
		citiesConfiguration.add(city3);
		citiesConfiguration.add(city4);
		
		return citiesConfiguration;
	}
}
